<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
 * @author 		Yorick Peterse - PyroCMS development team
 * @package		PyroCMS
 * @subpackage	Installer
 * @category	Application
 * @since 		v0.9.6.2
 *
 * Installer controller.
 */
class Admin extends Controller
{
	function Admin(){
    	parent::Controller();     
  	}
  	/**
	 * Index method
	 * 
	 * @access public
	 * @return void
	 */
	public function index()
	{  
		// Load the view file
		$data['id'] = 'default';
		$this->load->view('admin' , $data);
	
	}
	
	 function insert_video() {
    	$video = $_POST['video']; 
    	$fbId = $_POST['fbId'];		
    	$this->Admin_model->insert_video($video , $personId, $fbId);	
		echo "{success: true}"	;
	}
	 
	 
}

/* End of file installer.php */
/* Location: ./installer/controllers/installer.php */
